﻿using EMRView.Extensions.HCAttribute;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;

namespace EMRView.Extensions.Command.StandardCommand.Table
{
    [Command(CommandType.表格, "DeleteCurRow", "删除行")]
    public class DeleteCurRowCommand : BaseCommand
    {

        public override Icon CommandIcon => EMRView.Extensions.Properties.HCResource.删除行;

        public override object Execute(HCEmrView _view, bool showDefaultUI = false, params object[] para)
        {
            return _view.ActiveTableDeleteCurRow();
        }

        public override void InitControl(object control)
        {
        }
    }
}
